package com.example.flower_shop.service;

import com.example.flower_shop.dto.address.AddressDTO;
import com.example.flower_shop.entity.Address;

import java.util.List;

public interface AddressService {
    List<AddressDTO> getAddressList(Long userId);

    AddressDTO getAddress(Long userId, Long addressId);

    AddressDTO createAddress(Long userId, AddressDTO addressDTO);

    AddressDTO updateAddress(Long userId, Long addressId, AddressDTO addressDTO);

    void deleteAddress(Long userId, Long addressId);

    AddressDTO setDefaultAddress(Long userId, Long addressId);

    AddressDTO getDefaultAddress(Long userId);
}